<!--
 * @Description: 
 * @Author: xunzhaotech
 * @Email: luyb@xunzhaotech.com
 * @QQ: 1525572900
 * @Date: 2024-03-31 17:33:00
 * @LastEditTime: 2024-04-05 22:10:09
 * @LastEditors: xunzhaotech
-->
<template>
  <NotFound v-if="page.isNotFound" />
  <Home v-if="frontmatter.layout === 'home'" />
  <Page v-else />
  <Layout>
    <template #aside-outline-before>
      My custom sidebar top content
    </template>
  </Layout>
</template>
<script setup>
import DefaultTheme from 'vitepress/theme'
const { Layout } = DefaultTheme
import { useData } from 'vitepress'
import NotFound from './components/NotFound.vue'
import Home from './components/Home.vue'
import Page from './components/Page.vue'
const { page, frontmatter } = useData()
</script>